package com.com.knowledgepaymentmanagementsystem.pojo.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(value = "user")
public class User {
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;
    private String userInfo;
    private Integer userLevel;
    private Integer costNum;
    private Double costMoney;
    private Integer userState;
    private LocalDateTime createTime;
    private String account;
    private String password;

    @TableField(exist = false)
    private Integer page;

    @TableField(exist = false)
    private Integer pageSize;
}
